package com.lagou.common;

/**
 * 请求节点：存放请求时间和耗时
 *
 * @Author: zhangzhiwei
 * @Date: 2022/3/13 18:08
 */
public class RequestNode {

    private Long requestTime;

    private Long useTime;

    public RequestNode() {
    }

    public RequestNode(Long requestTime, Long useTime) {
        this.requestTime = requestTime;
        this.useTime = useTime;
    }

    public Long getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(Long requestTime) {
        this.requestTime = requestTime;
    }

    public Long getUseTime() {
        return useTime;
    }

    public void setUseTime(Long useTime) {
        this.useTime = useTime;
    }

    @Override
    public String toString() {
        return "RequestNode{" +
                "requestTime=" + requestTime +
                ", useTime=" + useTime +
                '}';
    }
}
